#ifndef __pce_vdc_h__
#define __pce_vdc_h__

#define R_MAWR	0
#define R_MARR	1
#define R_CR	5
#define R_RCR	6
#define R_MWR	9

typedef struct vdc_s {
	u16 vram[0x10000];	//memory
	u16 regs[20];		//registers
	u8 status;
} vdc_t;

void pce_vdc_reset();
u8 pce_vdc_read(u32 address);
void pce_vdc_write(u32 address,u8 data);

#endif
